home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cato
/
Xm
/
XmTextCut.z
/
XmTextCut
Wrap
Text File
|
1998-10-20
|
4KB
|
67 lines
XXXXmmmmTTTTeeeexxxxttttCCCCuuuutttt((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmTTTTeeeexxxxttttCCCCuuuutttt((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmTTTTeeeexxxxttttCCCCuuuutttt - A Text function that copies the primary
selection to the clipboard and deletes the selected text
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
####iiiinnnncccclllluuuuddddeeee <<<<XXXXmmmm////TTTTeeeexxxxtttt....hhhh>>>>
BBBBoooooooolllleeeeaaaannnn XXXXmmmmTTTTeeeexxxxttttCCCCuuuutttt ((((_w_i_d_g_e_t, _t_i_m_e))))
WWWWiiiiddddggggeeeetttt _w_i_d_g_e_t;;;;
TTTTiiiimmmmeeee _t_i_m_e;;;;
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents version 1.2 of the Motif library.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmTTTTeeeexxxxttttCCCCuuuutttt copies the primary selected text to the clipboard
and then deletes the primary selected text. This routine
calls the widget's XXXXmmmmNNNNvvvvaaaalllluuuueeeeCCCChhhhaaaannnnggggeeeeddddCCCCaaaallllllllbbbbaaaacccckkkk and verification
callbacks, either XXXXmmmmNNNNmmmmooooddddiiiiffffyyyyVVVVeeeerrrriiiiffffyyyyCCCCaaaallllllllbbbbaaaacccckkkk or
XXXXmmmmNNNNmmmmooooddddiiiiffffyyyyVVVVeeeerrrriiiiffffyyyyCCCCaaaallllllllbbbbaaaacccckkkkWWWWccccssss, or both. If both verification
callback lists are registered, the procedures of the
XXXXmmmmNNNNmmmmooooddddiiiiffffyyyyVVVVeeeerrrriiiiffffyyyyCCCCaaaallllllllbbbbaaaacccckkkk list are executed first and the
resulting data is passed to the XXXXmmmmNNNNmmmmooooddddiiiiffffyyyyVVVVeeeerrrriiiiffffyyyyCCCCaaaallllllllbbbbaaaacccckkkkWWWWccccssss
callbacks.
_w_i_d_g_e_t Specifies the Text widget ID.
_t_i_m_e Specifies the server time at which the selection
value is to be modified. This should be the time of
the event which triggered this request. One source
of a valid time stamp is the function
XXXXttttLLLLaaaassssttttTTTTiiiimmmmeeeessssttttaaaammmmppppPPPPrrrroooocccceeeesssssssseeeedddd(((()))).
For a complete definition of Text and its associated
resources, see XXXXmmmmTTTTeeeexxxxtttt((((3333XXXX)))).
RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
This function returns False if the primary selection is
NULL, if the _w_i_d_g_e_t doesn't own the primary selection, or if
the function is unable to gain ownership of the clipboard
selection. Otherwise, it returns True.
RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
XXXXmmmmTTTTeeeexxxxtttt((((3333XXXX)))).
Page 1 (printed 4/30/98)